//
//  TMQNUploadManger.h
//  catVoice
//
//  Created by imac on 2019/7/19.
//  Copyright © 2019 imac. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TMQNUploadManger : NSObject
+ (TMQNUploadManger*)manger;
- (void)sendQiNiuWithImage:(UIImage*)image  handle:(void(^)(NSString* url))handle;/**< 上传一张图片 */
- (void)sendQiNiuGifWithData:(NSData *)data handle:(void (^)(NSString *))handle;/**< 上传一张gif图片 */
- (void)sendFileWithFilePath:(NSString*)path handle:(void(^)(NSString* url))handle;/**< 上传一个文件获取url */
//上传一个文件 规定type eg:type = ".mp4"
- (void)sendFileWithFilePath:(NSString*)path type:(NSString*)type handle:(void(^)(NSString* url))handle;/**< 上传一个文件获取url */
- (void)uploadMoreImage:(NSArray<UIImage*>*)imageArray handle:(void (^)(BOOL success, NSArray * array))handle;
@end

NS_ASSUME_NONNULL_END
